package com.imooc.o2o.web.local;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value = "/local", method = {RequestMethod.GET})
public class LocalController {
	
	@RequestMapping(value = "/register")
	public String register() {
		//转发至注册页面
		return "local/register";
	}
	
	@RequestMapping(value = "/login")
	public String login() {
		//转发至登陆页面
		return "local/login";
	}
	
	@RequestMapping(value = "/changepsw")
	public String changePsw() {
		//转发至修改密码页面
		return "local/changepsw";
	}
	
	@RequestMapping(value = "/changeinfo")
	public String changeInfo() {
		//转发至修改密码页面
		return "local/changeinfo";
	}
}
